import request from '@/utils/request'

// 查询车辆进出场记录(下级平台推送)列表
export function listRecordInOut(query) {
  return request({
    url: '/parking/recordInOut/list',
    method: 'get',
    params: query
  })
}

// 查询车辆进出场记录(下级平台推送)详细
export function getRecordInOut(id) {
  return request({
    url: '/parking/recordInOut/' + id,
    method: 'get'
  })
}

// 新增车辆进出场记录(下级平台推送)
export function addRecordInOut(data) {
  return request({
    url: '/parking/recordInOut',
    method: 'post',
    data: data
  })
}

// 修改车辆进出场记录(下级平台推送)
export function updateRecordInOut(data) {
  return request({
    url: '/parking/recordInOut',
    method: 'put',
    data: data
  })
}

// 删除车辆进出场记录(下级平台推送)
export function delRecordInOut(id) {
  return request({
    url: '/parking/recordInOut/' + id,
    method: 'delete'
  })
}
